home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / amiga / plotting / gnuplot3.lzh / gnuplot / makefile.msc < prev    next >
Makefile  |  1991-09-17  |  3KB  |  99 lines

  1. # Make file for use with Microsoft C  Version 5.10
  2. # and Microsoft Program Maintenance Utility  Version 4.07
  3.  
  4. # where to place gnuplot.gih helpfile
  5. HELPFILE = gnuplot.gih
  6.  
  7. # /c  means don't link
  8. # /AL means large memory model (large code, large data)
  9. # /DPC means define symbol PC
  10. CFLAGS = /c /AL /DPC #/DMSDOS #/Zi #/Od
  11.  
  12. # see other terminal defines in term.h
  13. TERMFLAGS = 
  14.  
  15. # /NOE means NO EXTernal Dictionary
  16. # /EX  means pack EXE file
  17. # /ST:10000 means stack size 10000 bytes
  18. LINKFLAGS = /NOE /EX /ST:10000 #/codeview 
  19.  
  20. OBJS =     bitmap.obj command.obj contour.obj eval.obj graphics.obj graph3d.obj \
  21.     help.obj internal.obj misc.obj parse.obj plot.obj readline.obj \
  22.     scanner.obj setshow.obj standard.obj term.obj util.obj version.obj \
  23.     pcgraph.obj hrcgraph.obj corgraph.obj
  24.  
  25. CSOURCE5 = term\aed.trm term\cgi.trm term/dumb.trm term/dxf.trm term\dxy.trm \
  26.     term\eepic.trm term\epson.trm term\fig.trm term\hp26.trm \
  27.     term\hp2648.trm term\hpgl.trm term\hpljii.trm 
  28. CSOURCE6 = term\impcodes.h term\imagen.trm term\object.h \
  29.     term\iris4d.trm term\kyo.trm term\latex.trm term\pc.trm 
  30. CSOURCE7 = term\post.trm term\qms.trm term\regis.trm term\sun.trm \
  31.     term\t410x.trm term\tek.trm term\unixpc.trm term\unixplot.trm \
  32.     term\v384.trm term\x11.trm
  33. CSOURCE8 = contour.c
  34.  
  35. # default rules
  36. .c.obj:
  37.     cl $(CFLAGS) $*.c
  38.  
  39. .asm.obj:
  40.     masm $*;
  41.  
  42. pcgraph.obj: pcgraph.asm header.mac lineproc.mac
  43.  
  44. corgraph.obj: corgraph.asm header.mac lineproc.mac
  45.  
  46. hrcgraph.obj: hrcgraph.asm header.mac lineproc.mac
  47.  
  48. bitmap.obj: bitmap.c bitmap.h plot.h
  49.  
  50. command.obj: command.c plot.h setshow.h help.h
  51.     cl $(CFLAGS) /DHELPFILE=\"$(HELPFILE)\" command.c
  52.  
  53. contour.obj: contour.c plot.h
  54.  
  55. eval.obj: eval.c plot.h
  56.  
  57. graphics.obj: graphics.c plot.h setshow.h
  58.  
  59. graph3d.obj: graphics.c plot.h setshow.h
  60.  
  61. help.obj: help.c plot.h help.h
  62.  
  63. internal.obj: internal.c plot.h
  64.  
  65. misc.obj: misc.c plot.h setshow.h
  66.  
  67. parse.obj: parse.c plot.h
  68.  
  69. plot.obj: plot.c plot.h setshow.h
  70.  
  71. readline.obj: readline.c
  72.  
  73. scanner.obj: scanner.c plot.h
  74.  
  75. setshow.obj: setshow.c plot.h setshow.h
  76.  
  77. standard.obj: standard.c plot.h
  78.  
  79. term.obj: term.c term.h plot.h setshow.h bitmap.h $(CSOURCE5) $(CSOURCE6) $(CSOURCE7)
  80.     cl $(CFLAGS) $(TERMFLAGS) /Iterm term.c
  81.  
  82. util.obj: util.c plot.h
  83.  
  84. version.obj: version.c
  85.  
  86. # convert gnuplot.doc to gnuplot.gih
  87. doc2gih.exe: docs\doc2gih.c
  88.     cl docs\doc2gih.c
  89.  
  90. $(HELPFILE): doc2gih.exe docs\gnuplot.doc
  91.     doc2gih docs\gnuplot.doc $(HELPFILE)
  92.  
  93. # Object files in link command line are ordered to avoid far jumps.
  94. # use linkopt.msc to avoid command-line overflow
  95.  
  96. gnuplot.exe: $(OBJS)
  97.  link $(LINKFLAGS) @linkopt.msc
  98.